<?php
/**
 * Description
 *
 * PHP version 7
 *
 * @category Custom
 * @package  Custom
 * @author   ryu <mo5467@126.com>
 * @date     2020-04-28 23:27:39
 * @lastTime 2020-05-01 23:10:22
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     none
 */
namespace Design\Behavioral\NullObject;

class Service
{

    private $logger;


    public function __construct(Logger $logger)
    {
        $this->logger = $logger;

    }//end __construct()


    public function log(String $string)
    {
        $this->logger->log($string);

    }//end log()


}//end class
